MediaPicker
data class MediaPicker(val types: Set<NavigationSpec.MediaPicker.Type>, val delegate: <Error class: unknown class>? = null, val settings: NavigationSpec.MediaPicker.Settings = Settings(), val animated: Boolean = false, val completion: () -> Unit? = null) : NavigationSpec
Presents a MPMediaPickerController to the parent
Parameters
types
the set of MediaPicker.Type
delegate
the MPMediaPickerControllerDelegateProtocol added to the MPMediaPickerController
settings
the MediaPicker.Settings to configure the MPMediaPickerController
animated
Specifies whether transition should be animated
completion
Optional function called when presentation is completed
Constructors
Link copied to clipboard
constructor(types: Set<NavigationSpec.MediaPicker.Type>, delegate: <Error class: unknown class>? = null, settings: NavigationSpec.MediaPicker.Settings = Settings(), animated: Boolean = false, completion: () -> Unit? = null)